﻿<!DOCTYPE html>
<html>
<head>
	<title>@ViewBag.Title</title>
	<link href="@Url.Content("~/Content/Themes/Default/Site.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Scripts/Plugins/SyntaxHighlighter/styles/shCore.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Scripts/Plugins/SyntaxHighlighter/styles/shThemeRDark.css")" rel="stylesheet" type="text/css" />
	<script src="@Url.Content("~/Scripts/Plugins/SyntaxHighlighter/scripts/shCore.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/Plugins/SyntaxHighlighter/scripts/shBrushCSharp.js")" type="text/javascript"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
	<link href="@Url.Content("~/Scripts/Plugins/TwitterTicker/TwitterTracker.css")" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="@Url.Content("~/Scripts/Plugins/TwitterTicker/jquery.tweetable.min.js")"></script>
	<link id="Rsd" rel="EditURI" type="application/rsd+xml" title="RSD" href="@Url.Action("Rsd", "Syndication")">
</head>
<body>
	<div id="header">
		<div id="logo">
			<text class="grey">Your</text><text class="orange">Name</text>
		</div>
	</div>
	<div id="menu">
		<ul id="menuLinks">
			<li>@Html.ActionLink("Home", "Index", "Home", new { area = String.Empty }, null)</li>
			@if (Request.IsAuthenticated)
   {
				<li>@Html.ActionLink("Administration", "Index", "Post", new { area = "Administration" }, null)</li>
				<li>@Html.ActionLink("Logout", "Logout", "Account")</li>
   }
   else
   {
				<li>@Html.ActionLink("Login", "Login", "Account")</li>
   }
		</ul>
	</div>
	<div id="wrap">
		<div id="main" class="rounded_border post_content">
			@RenderBody()
		</div>
		<div id="sidebar" class="rounded_border">
			<h2>
				About
			</h2>
			<div>
				<table>
					<tr>
						<td align="left" valign="top">
							Your image
						</td>
						<td align="left" valign="top" class="smalltext">
							Your biography
						</td>
					</tr>
				</table>
			</div>
			<br />
			<img alt="" style="margin-bottom:-30px; margin-top:-20px;" src="@Url.Content("~/Scripts/Plugins/TwitterTicker/Images/twitter_ticker.png")" />
			<div id="tweets">
			</div>
			<br />
			@{Html.RenderPartial("_ArchivesPartial");}
			<br />
		</div>
	</div>
	@*Twitter*@
	<script type="text/javascript">
		$(document).ready(function () {
			//Syntax Highlighter
			SyntaxHighlighter.all()
			//Find all <pre> tags that have a <code> tag child, and add the "brush: c#" class to the <pre> tag.  
			$('pre:has(code)').addClass('brush: c#');
			//Find each <code> tag (with a <pre> parent), and replace it’s contents with itself leaving only the <pre> tag behind.
			$('pre>code').each(function (index) {
				var cnt = $(this).contents();
				$(this).replaceWith(cnt);
			});

			//Tweets
			$('#tweets').tweetable({ username: 'yourtwitteraccountname', time: true, limit: 5, replies: true, position: 'append' });
		});
	</script>
</body>
</html>
